/**
 * @Classname IRecordNotifyService
 * @Description TODO
 * @author Tale-Mi
 * @date 2019/2/17 23:28
 */
package org.tale.mscp.notify.services;


import org.tale.mscp.notify.entity.AttAtdRec;
import org.tale.mscp.notify.entity.BrushCard;
import org.tale.mscp.notify.utils.Const;

import java.time.LocalDate;
import java.util.List;

public interface IRecordNotifyService {
    public List<AttAtdRec> getKemiRecord(LocalDate startDate, LocalDate endDate, String name, String userId);

    public List<BrushCard> getZhongkongRecord(LocalDate startDate, LocalDate endDate, String name, String userId);

    public void sendNotifyPerDay(List<BrushCard> brushCardList, List<AttAtdRec> attAtdRecList);

    /***
     * 区分上下午的考勤通知，内含判断是否需要进行通知的逻辑，由于人员较少，考勤数据目前只允许传单人
     * @param brushCardList
     * @param attAtdRecList
     * @param type
     */
    public void sendNotifyPerTime(List<BrushCard> brushCardList, List<AttAtdRec> attAtdRecList, Const.DayTypeEnum type);
}
